<#macro field type name>
<#if type = "java.lang.String" ><#t/>
	String ${name};
</#if><#t/>
<#if type = "java.lang.Long" ><#t/>
	Long ${name};
</#if><#t/>
<#if type = "java.util.Date" ><#t/>
	Date ${name};
</#if><#t/>
</#macro>

<#macro method type name>
<#if type = "java.lang.String" ><#t/>
	public String get${name?cap_first}() {
		return ${name};
	}
	public void set${name?cap_first}(String ${name}) {
		this.${name} = ${name};
	}
</#if><#t/>
<#if type = "java.lang.Long" ><#t/>
	public Long get${name?cap_first}() {
		return ${name};
	}
	public void set${name?cap_first}(Long ${name}) {
		this.${name} = ${name};
	}
</#if><#t/>
<#if type = "java.util.Date" ><#t/>
	public Date get${name?cap_first}() {
		return ${name};
	}
	public void set${name?cap_first}(Date ${name}) {
		this.${name} = ${name};
	}
</#if><#t/>
</#macro>

<#macro mapper type name column>
<#if type = "java.lang.String" ><#t/>
		vo.set${name?cap_first}(rs.getString("${column?upper_case}"));
</#if><#t/>
<#if type = "java.lang.Long" ><#t/>
		vo.set${name?cap_first}(new Long(rs.getLong("${column?upper_case}")));
</#if><#t/>
<#if type = "java.util.Date" ><#t/>
		vo.set${name?cap_first}(rs.getDate("${column?upper_case}"));
</#if><#t/>
</#macro>

